Total Complexity | 31 |
Dependencies | 3 |
Dependents | 0 |
Total lines | 218 |
Lines of code | 101 |
Logical lines of code | 50 |
Comment lines | 69 |
Methods | 14 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
parse_array_items_to_int() | 59 | 6 | 15 | |
check_admin_permission() | 61 | 4 | 13 | |
prepare_item_for_response() | 65 | 4 | 8 | |
response() | 63 | 3 | 10 | |
check_guest_permission() | 64 | 3 | 10 | |
convert_string_to_array() | 67 | 2 | 8 | |
get_formatted_time() | 69 | 2 | 6 | |
__construct() | 79 | 1 | 3 | |
validate_int() | 80 | 1 | 3 | |
validate_email() | 80 | 1 | 3 | |
sanitize_int() | 80 | 1 | 3 | |
error_nonce_missing() | 69 | 1 | 7 | |
error_admin_check_failed() | 69 | 1 | 7 | |
convert_string_to_int_array() | 72 | 1 | 5 |